﻿using Microsoft.AspNetCore.DataProtection.KeyManagement;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lee.Utility.Models
{
    public class BaseEntity<TKey> : IEFEntity<TKey>//, ISoftDelete
    {
        //[Key] //主键 
        //[DatabaseGenerated(DatabaseGeneratedOption.Identity)]  //设置自增 
        public TKey id { get; set; }
        public bool? isdeleted { get; set; }
        public string? create_by { get; set; }  
        public DateTime create_time { get; set; }
        public string? update_by { get; set; }
        public DateTime? update_time { get; set; } 
    }
}
